package com.qupai.domain.dto;

import com.qupai.domain.entity.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.AllArgsConstructor;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "分页查询DTO")
@Data
public class OrderPageQueryDTO extends PageQuery{

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "订单号")
    private String number;

    @Schema(description = "商品名")
    private String itemName;

    @Schema(description = "查询订单开始时间")
    private LocalDateTime orderBeginTime;

    @Schema(description = "查询订单结束时间")
    private LocalDateTime orderEndTime;
}
